package com.yc.bean;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 测评评级标准实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("testScoreLevels")
public class TestScoreLevel {
    
    @TableId(value = "levelId", type = IdType.AUTO)
    private Long levelId;
    
    @TableField("testId")
    private Long testId;
    
    @TableField("levelName")
    private String levelName;
    
    @TableField("minScore")
    private BigDecimal minScore;
    
    @TableField("maxScore")
    private BigDecimal maxScore;
    
    @TableField("description")
    private String description;
    
    @TableField("color")
    private String color;
    
    @TableField("suggestions")
    private String suggestions; // JSON格式
    
    @TableField("sortOrder")
    private Integer sortOrder;
    
    @TableField(value = "createTime", fill = FieldFill.INSERT)
    private LocalDateTime createTime;
} 